package com.vcredit.creditcat.manager.product.h5;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.product.h5.IRepaymentCallbackManager;
import com.vcredit.creditcat.dto.product.h5.RepaymentplainDto;
import com.vcredit.creditcat.service.product.h5.RepaymentService;
import com.vcredit.framework.exception.BaseException;

@Service(protocol = { "protocol1" }, version = "1.0")
public class RepaymentCallbackManager implements IRepaymentCallbackManager{
	
	@Autowired
	private RepaymentService repaymentService;

	@Override
	public void insertOrUpdateRepaymentplan(Long productId,RepaymentplainDto repaymentplainDto) throws BaseException {
		repaymentService.insertOrUpdateRepaymentplan(productId,repaymentplainDto);
	}

}
